﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CoastalClimbing.Code;
using System.Data;

namespace CoastalClimbing.Auth
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
                this.BindInfo();
        }

        private void BindInfo()
        {
            //DataTable presales = DAL.PreSaleSelect();

            //lblPresaleCount.Text = presales.Rows.Count.ToString();

            //grvLatestPreSales.DataSource = presales;
            //grvLatestPreSales.DataBind();

            //grvLatestMembers.DataSource = DAL.MemberSelect();
            //grvLatestMembers.DataBind();

            //bool membersOn = DAL.GearSelect("MEMBERS");
            //lblLatestMembersOn.Text = (membersOn ? "ON" : "OFF");
            //lblLatestMembersOn.CssClass = (membersOn ? "thirtyYellow" : "thirtyRed");
        }
    }
}